Integration Principles
- Use the same routes and JSON bodies for HTTP and Serial.
- Always send
pay_systemexactly as configured (case-sensitive). - Treat every response as the standard JSON response envelope.
- Use stable IDs (
pay_id,trans) for polling and recovery. - For long-running operations, use
/checkpolling.